package com.wing.sell.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.sell.model.entity.CustomerDueSubject;
import com.wing.sell.model.entity.OrderReviewProcess;
import com.wing.sell.model.request.OrderReviewProcessForm;
import com.wing.sell.model.response.OrderReviewProcessVO;

import java.util.List;
import java.util.Map;

/**
 * 订单评审环节-Service
 *
 * @author
 */
public interface OrderReviewProcessService extends IService<OrderReviewProcess> {

    /**
     * 添加
     *
     * @param orderReviewProcessForm
     * @return
     */
    int add(OrderReviewProcessForm orderReviewProcessForm);

    /**
     * 修改
     *
     * @param orderReviewProcess
     * @return
     */
    boolean update(OrderReviewProcess orderReviewProcess);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<OrderReviewProcessVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<OrderReviewProcessVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    OrderReviewProcessVO get4appById(Long id);
}
